package com.woniu.scss.feign;

import com.woniu.scss.dto.ProductAddDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * packageName com.woniu.scss.feign
 *
 * @author zxyang3636
 * @version JDK 8
 * @className ZyProductFeign
 * @date 2024/8/14
 * @description TODO
 */
@FeignClient(name = "product-server")
public interface ZyProductFeign {

    @PostMapping("/productPush")
    Boolean productPush(@RequestBody List<ProductAddDTO> productAddDTOList);

}
